<?php
namespace common\helps;
/**
 * 前端登录控制过滤
 * @author hey_heyang(635870453@qq.com)
 */


class FrontBehavior{

    public static function NoCheck()
    {
        return [
            'project/get-recommend-project-list',
            'project/get-project-info',
            'project/get-index-project-info',
            'project/get-project-actor-info',
            'project/get-project-banner-info',
            'project/get-project-video-info',
            'project/get-project-information-info',
            'project/get-target-project-list',
            'project/get-project-posts-list',
            'project/get-project-class-list',
            'project/get-index-search-list',
            'project/get-movie-box-office',

            'banner/get-banner-list',

            'information/get-information-list',
            'information/get-index-information-list',
            'information/get-information-info',
            'information/get-information-class-list',

            //cpy
            'login/login',
            'login/register',
            'login/check-token',
            'login/get-pic-code',
            'login/get-phone-code',
            'login/get-mobile-code',
            'login/get-session-id',

            'movie/movie-list',
            'movie/movie-detail',
            'movie/posts-list',
            'movie/catch-movie',
            'movie/catch-internet-movie',
            'movie/add-movie',
            //'movie/posts-detail',

            'group/group-cat-index',
            'group/hot-group',
            'group/hot-posts',
            'group/group-list',
            'group/group-detail',

            'weal/task-list',
            'weal/weal-list',
            'weal/weal-detail',

            'member/mao-yan',

            'posts/get-hot-comment',

        ];
    }

    public static function checkGroup(){
        return [
            'group/add-posts',
            'movie/add-comment',
            'movie/click-like',
            'movie/posts-detail',
            'movie/comment-list',
            'posts/get-hot-comment',
        ];
    }


}
